package com.project.controller;


import com.project.bean.RepliesBean;
import com.project.service.IRepliesService;
import com.project.service.IUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("replies")
public class RepliesController {
    @Autowired
    private IRepliesService repliesService;

    @RequestMapping("add")
    public void add(RepliesBean reply) {
        repliesService.add(reply);
    }


}
